package cc.sjfx.sharedoc.db.bmob;

import cn.bmob.v3.BmobObject;

public class Major extends BmobObject {
	private Integer belong;
	private Integer mid;
	private String name;

	public int getBelong() {
		if (belong != null)
			return belong.intValue();
		return 0;
	}

	public void setBelong(int belong) {
		this.belong =new Integer(belong);
	}

	public int getMid() {
		if(mid!=null)
		return mid.intValue();
		return 0;
	}

	public void setMid(int mid) {
		this.mid = new Integer(mid);
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
